<div id="surgeryTeamtabs">
		<ul>
		{foreach from=$templates item=template}				
			<li>
				<a href="#wrapper" rel="{$template.template_id}">
					<span style="font-weight:bold;">{$template.template_name}</span>
					<br /> {if $template.note == ''} &nbsp; {else} {$template.note}{/if}
				</a>
			</li>		
		{/foreach}
		</ul>		
		
		<div id="wrapper">
			<input type="hidden" id="firstTemplateId" value="{$firstTemplateId}">
			<div id="prescriptionDetails">
				<input type='hidden' id='current_template_id' value=''>
				<input type='hidden' id='currentTicketId' value=''>
				
				<form id='updateTemplateForm'>
					<div id='surgeryTeamTemplateItems'>
					
					</div>
				</form>	
			</div>
			
			<div>
				 <img id='updatingTemplate' style='display:none' src='../images/ajax-loader.gif'/>
				 <span id='msg_viewTemplate' style="padding-top:10px; font-style: italic; font-size:1.1em; color: green;"></span>	
			</div>		
				
		</div>
				
</div>

